# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'TestConfigurationDialog.ui',
# licensing of 'TestConfigurationDialog.ui' applies.
#
# Created: Sun Apr 14 10:59:23 2019
#      by: pyside2-uic  running on PySide2 5.12.2
#
# WARNING! All changes made in this file will be lost!

from PySide2 import QtCore, QtGui, QtWidgets

class Ui_TestConfigurationDialog(object):
    def setupUi(self, TestConfigurationDialog):
        TestConfigurationDialog.setObjectName("TestConfigurationDialog")
        TestConfigurationDialog.resize(520, 400)
        TestConfigurationDialog.setModal(True)
        self.layoutWidget = QtWidgets.QWidget(TestConfigurationDialog)
        self.layoutWidget.setGeometry(QtCore.QRect(19, 10, 481, 371))
        self.layoutWidget.setObjectName("layoutWidget")
        self.gridLayoutMain = QtWidgets.QGridLayout(self.layoutWidget)
        self.gridLayoutMain.setContentsMargins(6, 6, 6, 6)
        self.gridLayoutMain.setObjectName("gridLayoutMain")
        self.groupBoxTest = QtWidgets.QGroupBox(self.layoutWidget)
        self.groupBoxTest.setObjectName("groupBoxTest")
        self.layoutWidget1 = QtWidgets.QWidget(self.groupBoxTest)
        self.layoutWidget1.setGeometry(QtCore.QRect(20, 30, 201, 131))
        self.layoutWidget1.setObjectName("layoutWidget1")
        self.verticalLayoutTest = QtWidgets.QVBoxLayout(self.layoutWidget1)
        self.verticalLayoutTest.setContentsMargins(6, 6, 6, 6)
        self.verticalLayoutTest.setObjectName("verticalLayoutTest")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label = QtWidgets.QLabel(self.layoutWidget1)
        self.label.setMaximumSize(QtCore.QSize(80, 16777215))
        self.label.setStyleSheet("font: 12pt \"宋体\";")
        self.label.setObjectName("label")
        self.horizontalLayout_4.addWidget(self.label)
        self.lineEditTestName = QtWidgets.QLineEdit(self.layoutWidget1)
        self.lineEditTestName.setObjectName("lineEditTestName")
        self.horizontalLayout_4.addWidget(self.lineEditTestName)
        self.verticalLayoutTest.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_2 = QtWidgets.QLabel(self.layoutWidget1)
        self.label_2.setMaximumSize(QtCore.QSize(80, 16777215))
        self.label_2.setStyleSheet("font: 12pt \"宋体\";")
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_3.addWidget(self.label_2)
        self.comboBoxTestPlanName = QtWidgets.QComboBox(self.layoutWidget1)
        self.comboBoxTestPlanName.setObjectName("comboBoxTestPlanName")
        self.horizontalLayout_3.addWidget(self.comboBoxTestPlanName)
        self.verticalLayoutTest.addLayout(self.horizontalLayout_3)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_4 = QtWidgets.QLabel(self.layoutWidget1)
        self.label_4.setMaximumSize(QtCore.QSize(80, 16777215))
        self.label_4.setStyleSheet("font: 12pt \"宋体\";")
        self.label_4.setObjectName("label_4")
        self.horizontalLayout.addWidget(self.label_4)
        self.lineEditOperator = QtWidgets.QLineEdit(self.layoutWidget1)
        self.lineEditOperator.setObjectName("lineEditOperator")
        self.horizontalLayout.addWidget(self.lineEditOperator)
        self.verticalLayoutTest.addLayout(self.horizontalLayout)
        self.gridLayoutMain.addWidget(self.groupBoxTest, 0, 0, 1, 1)
        self.groupBoxEnvironment = QtWidgets.QGroupBox(self.layoutWidget)
        self.groupBoxEnvironment.setObjectName("groupBoxEnvironment")
        self.layoutWidget2 = QtWidgets.QWidget(self.groupBoxEnvironment)
        self.layoutWidget2.setGeometry(QtCore.QRect(20, 20, 191, 121))
        self.layoutWidget2.setObjectName("layoutWidget2")
        self.gridLayoutEnvironment = QtWidgets.QGridLayout(self.layoutWidget2)
        self.gridLayoutEnvironment.setContentsMargins(6, 6, 6, 6)
        self.gridLayoutEnvironment.setObjectName("gridLayoutEnvironment")
        self.label_9 = QtWidgets.QLabel(self.layoutWidget2)
        self.label_9.setStyleSheet("font: 12pt \"宋体\";")
        self.label_9.setObjectName("label_9")
        self.gridLayoutEnvironment.addWidget(self.label_9, 0, 0, 1, 1)
        self.doubleSpinBoxEnvironmentTemp = QtWidgets.QDoubleSpinBox(self.layoutWidget2)
        self.doubleSpinBoxEnvironmentTemp.setDecimals(1)
        self.doubleSpinBoxEnvironmentTemp.setMinimum(-60.0)
        self.doubleSpinBoxEnvironmentTemp.setMaximum(100.0)
        self.doubleSpinBoxEnvironmentTemp.setProperty("value", 25.0)
        self.doubleSpinBoxEnvironmentTemp.setObjectName("doubleSpinBoxEnvironmentTemp")
        self.gridLayoutEnvironment.addWidget(self.doubleSpinBoxEnvironmentTemp, 0, 1, 1, 1)
        self.label_10 = QtWidgets.QLabel(self.layoutWidget2)
        self.label_10.setStyleSheet("font: 12pt \"宋体\";")
        self.label_10.setObjectName("label_10")
        self.gridLayoutEnvironment.addWidget(self.label_10, 1, 0, 1, 1)
        self.doubleSpinBoxEnvironmentHumi = QtWidgets.QDoubleSpinBox(self.layoutWidget2)
        self.doubleSpinBoxEnvironmentHumi.setDecimals(1)
        self.doubleSpinBoxEnvironmentHumi.setProperty("value", 40.0)
        self.doubleSpinBoxEnvironmentHumi.setObjectName("doubleSpinBoxEnvironmentHumi")
        self.gridLayoutEnvironment.addWidget(self.doubleSpinBoxEnvironmentHumi, 1, 1, 1, 1)
        self.label_11 = QtWidgets.QLabel(self.layoutWidget2)
        self.label_11.setStyleSheet("font: 12pt \"宋体\";")
        self.label_11.setObjectName("label_11")
        self.gridLayoutEnvironment.addWidget(self.label_11, 2, 0, 1, 1)
        self.textEditEnvironmentNote = QtWidgets.QTextEdit(self.layoutWidget2)
        self.textEditEnvironmentNote.setMaximumSize(QtCore.QSize(16777215, 77))
        self.textEditEnvironmentNote.setObjectName("textEditEnvironmentNote")
        self.gridLayoutEnvironment.addWidget(self.textEditEnvironmentNote, 2, 1, 1, 1)
        self.gridLayoutEnvironment.setRowStretch(0, 1)
        self.gridLayoutEnvironment.setRowStretch(1, 1)
        self.gridLayoutEnvironment.setRowStretch(2, 2)
        self.gridLayoutMain.addWidget(self.groupBoxEnvironment, 0, 1, 1, 1)
        self.groupBoxSample = QtWidgets.QGroupBox(self.layoutWidget)
        self.groupBoxSample.setObjectName("groupBoxSample")
        self.layoutWidget3 = QtWidgets.QWidget(self.groupBoxSample)
        self.layoutWidget3.setGeometry(QtCore.QRect(20, 30, 201, 121))
        self.layoutWidget3.setObjectName("layoutWidget3")
        self.gridLayoutSample = QtWidgets.QGridLayout(self.layoutWidget3)
        self.gridLayoutSample.setContentsMargins(6, 6, 6, 6)
        self.gridLayoutSample.setObjectName("gridLayoutSample")
        self.label_5 = QtWidgets.QLabel(self.layoutWidget3)
        self.label_5.setStyleSheet("font: 12pt \"宋体\";")
        self.label_5.setObjectName("label_5")
        self.gridLayoutSample.addWidget(self.label_5, 0, 0, 1, 1)
        self.lineEditCustomer = QtWidgets.QLineEdit(self.layoutWidget3)
        self.lineEditCustomer.setObjectName("lineEditCustomer")
        self.gridLayoutSample.addWidget(self.lineEditCustomer, 0, 1, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.layoutWidget3)
        self.label_3.setMaximumSize(QtCore.QSize(80, 16777215))
        self.label_3.setStyleSheet("font: 12pt \"宋体\";")
        self.label_3.setObjectName("label_3")
        self.gridLayoutSample.addWidget(self.label_3, 1, 0, 1, 1)
        self.lineEditEquipmentName = QtWidgets.QLineEdit(self.layoutWidget3)
        self.lineEditEquipmentName.setObjectName("lineEditEquipmentName")
        self.gridLayoutSample.addWidget(self.lineEditEquipmentName, 1, 1, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.layoutWidget3)
        self.label_6.setMaximumSize(QtCore.QSize(80, 16777215))
        self.label_6.setStyleSheet("font: 12pt \"宋体\";")
        self.label_6.setObjectName("label_6")
        self.gridLayoutSample.addWidget(self.label_6, 2, 0, 1, 1)
        self.lineEditManufacturer = QtWidgets.QLineEdit(self.layoutWidget3)
        self.lineEditManufacturer.setObjectName("lineEditManufacturer")
        self.gridLayoutSample.addWidget(self.lineEditManufacturer, 2, 1, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.layoutWidget3)
        self.label_7.setMaximumSize(QtCore.QSize(80, 16777215))
        self.label_7.setStyleSheet("font: 12pt \"宋体\";")
        self.label_7.setObjectName("label_7")
        self.gridLayoutSample.addWidget(self.label_7, 3, 0, 1, 1)
        self.lineEditModel = QtWidgets.QLineEdit(self.layoutWidget3)
        self.lineEditModel.setText("")
        self.lineEditModel.setObjectName("lineEditModel")
        self.gridLayoutSample.addWidget(self.lineEditModel, 3, 1, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.layoutWidget3)
        self.label_8.setMaximumSize(QtCore.QSize(80, 16777215))
        self.label_8.setStyleSheet("font: 12pt \"宋体\";")
        self.label_8.setObjectName("label_8")
        self.gridLayoutSample.addWidget(self.label_8, 4, 0, 1, 1)
        self.lineEditSerialNumber = QtWidgets.QLineEdit(self.layoutWidget3)
        self.lineEditSerialNumber.setText("")
        self.lineEditSerialNumber.setObjectName("lineEditSerialNumber")
        self.gridLayoutSample.addWidget(self.lineEditSerialNumber, 4, 1, 1, 1)
        self.gridLayoutSample.setColumnStretch(0, 1)
        self.gridLayoutSample.setColumnStretch(1, 1)
        self.gridLayoutMain.addWidget(self.groupBoxSample, 1, 0, 1, 1)
        self.groupBoxSubTest = QtWidgets.QGroupBox(self.layoutWidget)
        self.groupBoxSubTest.setObjectName("groupBoxSubTest")
        self.layoutWidget4 = QtWidgets.QWidget(self.groupBoxSubTest)
        self.layoutWidget4.setGeometry(QtCore.QRect(20, 30, 191, 131))
        self.layoutWidget4.setObjectName("layoutWidget4")
        self.verticalLayoutSubTest = QtWidgets.QVBoxLayout(self.layoutWidget4)
        self.verticalLayoutSubTest.setContentsMargins(6, 6, 6, 6)
        self.verticalLayoutSubTest.setObjectName("verticalLayoutSubTest")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_12 = QtWidgets.QLabel(self.layoutWidget4)
        self.label_12.setStyleSheet("font: 12pt \"宋体\";")
        self.label_12.setObjectName("label_12")
        self.horizontalLayout_2.addWidget(self.label_12)
        self.comboBoxSubTestCount = QtWidgets.QComboBox(self.layoutWidget4)
        self.comboBoxSubTestCount.setObjectName("comboBoxSubTestCount")
        self.horizontalLayout_2.addWidget(self.comboBoxSubTestCount)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.horizontalLayout_2.setStretch(1, 1)
        self.verticalLayoutSubTest.addLayout(self.horizontalLayout_2)
        self.tableWidgetSubTestParams = QtWidgets.QTableWidget(self.layoutWidget4)
        self.tableWidgetSubTestParams.setObjectName("tableWidgetSubTestParams")
        self.tableWidgetSubTestParams.setColumnCount(0)
        self.tableWidgetSubTestParams.setRowCount(0)
        self.verticalLayoutSubTest.addWidget(self.tableWidgetSubTestParams)
        self.gridLayoutMain.addWidget(self.groupBoxSubTest, 1, 1, 1, 1)
        self.buttonBox = QtWidgets.QDialogButtonBox(self.layoutWidget)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayoutMain.addWidget(self.buttonBox, 2, 0, 1, 2)
        self.gridLayoutMain.setColumnStretch(0, 1)
        self.gridLayoutMain.setColumnStretch(1, 1)

        self.retranslateUi(TestConfigurationDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), TestConfigurationDialog.reject)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), TestConfigurationDialog.accept)
        QtCore.QMetaObject.connectSlotsByName(TestConfigurationDialog)

    def retranslateUi(self, TestConfigurationDialog):
        TestConfigurationDialog.setWindowTitle(QtWidgets.QApplication.translate("TestConfigurationDialog", "新建测试", None, -1))
        self.groupBoxTest.setTitle(QtWidgets.QApplication.translate("TestConfigurationDialog", "测试信息", None, -1))
        self.label.setText(QtWidgets.QApplication.translate("TestConfigurationDialog", "测试名称：", None, -1))
        self.label_2.setText(QtWidgets.QApplication.translate("TestConfigurationDialog", "测试方案：", None, -1))
        self.label_4.setText(QtWidgets.QApplication.translate("TestConfigurationDialog", "操 作 员：", None, -1))
        self.groupBoxEnvironment.setTitle(QtWidgets.QApplication.translate("TestConfigurationDialog", "环境参数", None, -1))
        self.label_9.setText(QtWidgets.QApplication.translate("TestConfigurationDialog", "环境温度（℃）：", None, -1))
        self.label_10.setText(QtWidgets.QApplication.translate("TestConfigurationDialog", "环境湿度（RH%）：", None, -1))
        self.label_11.setText(QtWidgets.QApplication.translate("TestConfigurationDialog", "其他环境信息：", None, -1))
        self.groupBoxSample.setTitle(QtWidgets.QApplication.translate("TestConfigurationDialog", "样品信息", None, -1))
        self.label_5.setText(QtWidgets.QApplication.translate("TestConfigurationDialog", "委托方：", None, -1))
        self.label_3.setText(QtWidgets.QApplication.translate("TestConfigurationDialog", "样品名称：", None, -1))
        self.label_6.setText(QtWidgets.QApplication.translate("TestConfigurationDialog", "生产厂家：", None, -1))
        self.label_7.setText(QtWidgets.QApplication.translate("TestConfigurationDialog", "规格/型号：", None, -1))
        self.label_8.setText(QtWidgets.QApplication.translate("TestConfigurationDialog", "样品编号：", None, -1))
        self.groupBoxSubTest.setTitle(QtWidgets.QApplication.translate("TestConfigurationDialog", "测试参数", None, -1))
        self.label_12.setText(QtWidgets.QApplication.translate("TestConfigurationDialog", "测试点数量：", None, -1))

